package mspbots.smileback.client.oauth;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import javax.validation.constraints.NotEmpty;

/**
 * com.mspbots.doctor.config.TimeDoctorProperties
 * save a copy of your CLIENT ID and SECRET KEY for later use
 *
 * @author Alex bob(https://github.com/vnobo)
 * @link http://screencast.com/t/NLniW6qKDSh
 * @date Created by 2020/3/18
 */
@Data
@ConfigurationProperties("smile-back")
public class AuthProperties {

    @NotEmpty
    private String endpoints;

    @NotEmpty
    private String clientId;

    @NotEmpty
    private String clientSecret;

    @NotEmpty
    private String redirectUri;

    @NotEmpty
    private String scope;

}
